
#ifndef _MEMBER_BLight_H_
#define _MEMBER_BLight_H_

#include <BColor>
#include <BLight>

#define light_member(light)		((member_BLight*)((BLight*)light)->_ptr)

namespace BWE
{
	class member_BLight
	{
	public:
		member_BLight(BLight* light);
		~member_BLight();

		BLight*			boss;
		BLight::Type	type;
		BColor			ambient;
		BColor			diffuse;
		BColor			specular;
		float			attenuation;
		float			attenuation2;
		float			cutoff;
		float			exponent;
		BVector			direction;

		BColorf			ambientColor;
		BColorf			diffuseColor;
		BColorf			specularColor;
	};
}

#endif
